<!DOCTYPE html>
<html >
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单</title>
    <style>
        form{
            width: 400px;
            border: 1px solid #ddd;
            border-radius: 6px;
            margin: 50px auto;
            padding: 20px;
        }
        form >div{
            margin: 10px;
        }
        form >div >label{
            text-align: right;
            width: 60px;
            padding-right: 5px;
            display: inline-block;

        }
        .choose-box{
            display: inline-block;
            margin-right: 10px;

        }
        input[type='text'],
        input[type='passward'],
        select{
            width: 220px;
        }

    </style>
</head>
<body>
    <form action="" method="">
        <div>
            <label for="">用户名</label>
             <input type="text"value="qqqqq"placeholder="请输入用户名">
        </div>
        <div>
            <label for="">密码</label>
            <input type="password" placeholder="请输入密码">
        </div>
        <div>
            <label for="">性别</label>
            <div class="choose-box">
                <input  id="nan"name="gender" value="nan" checked type="radio">
                <label for="nan">男</label>
            </div>
            <div class="choose-box">
                <input id="nv"name="gender" value="nv" type="radio">
                <label for="nv">女</label>
            </div>
            <div class="choose-box">
                <input id="baomi" name="gender" value="baomi" type="radio">
                <label for="baomi">保密</label>
            </div>
        </div>
        <div>
            <label for="">爱好</label>
            <div class="choose-box">
                <input type="checkbox"value="travel" name="favourate" id="travel" >
                <label for="travel">旅行</label>
            </div>
            <div class="choose-box">
                <input type="checkbox" value="read"  name="favourate" id="read" >
                <label for="read">读书</label>
            </div>
            <div class="choose-box">
                <input type="checkbox" value="sport"  name="favourate" id="sport" checked  >
                <label for="sport">运动</label>
            </div>
        </div>
        <div>
            <label for="">籍贯</label>
            <select name="jg" id="">
                <option value="sx">山西</option>
                <option value="sd">山东</option>
                <option value="hb">河北</option>
                <option value="hn" selected >河南</option>
            </select>
        </div>
        <div>
            <label for="">简介</label>
            <textarea ></textarea>
        </div>
    </form>
    
</body>
</html>